Finished part 3 HW3.