hw4 part3 finished