hw2 part1 completed