Finish Homework 8 - Exercise 1