Hw4 finished