Finished hw6