ProgrammingAssignment2 completed