hw3 part 3 done.