Homework #2 

Submission for homework. It took me a long time to see that I had a nil being given for one of my methods, after that was gone all the fun stuff worked well and the logic was good. I tried to make a point to keep to as few lines as possible and use a lot of comments.