hw10 (still incomplete)

attempted using code from matthew cook (rumpus room)