commited ProgrammingAssignment2