Finish Homework 9 - Exercise 3