hw6 finished, tested