Modified cachematrix.R to include my code for grading