HW4 - Finished up to Question 7