hw2 finished

as close as I can get with problem 5