Solution to Peer Assessments/Programming Assignment 2