Code for submission

Completed programming assignment 2 for peer review