Solution for ProgrammingAssignment2 saved