rProgAssignment2