hw2 part1 complete