This is my job in ProgrammingAssignment2