hw2 part 2 iteration 1