Homework 4 Part 1 completed