Please accept my solution to HW 1.

It doesn't quite run properly, but I think it is close. I would love to have your input as to what is wrong. Thanks!