ProgrammingAssignment2 Q2