Homework 9 finished