Hw6

finished hw6... Wish I had done this before making hw7...