hw5 finished and tested