modified files for ProgrammingAssignment2