Homework 5 part 1 done.