Finish Homework 5 - Exercise 1