second commit ProgrammingAssignment2