HW4 Part1 completed