ProgrammingAssignment2 finished