Second  submission of ProgrammingAssignment2