finish part 1
Finish question 2 of the assignment.