Finish Homework 10 - Exercise 7