Homework 6 finished