hw4 part1 finished