week 2 programming assignment for Peter Raig

This is the week 2 programing assignment first cut.