This file contains the code for ProgrammingAssignment2.