hw6
finished hw6