hw4 p1 finished