NMHW homework 1

This is Nick's first homework.  I'm not sure where I'm supposed to submit the pull request, but I'm submitting it to here.

-Nick