Solution to Quiz 2