Upload of cachematrix.R for grading

First major version of Homework Assignment #2