Finish Homework 9 - Exercise 5