ProgrammingAssignment2

Created function