hw2 part 3 iteration 1