Solution to Quiz 3