Homework 3 finished