hw3 part 1 finish.