Homework 4 Exercise 1