Update cachematrix.R

Update with comments for Assignment2 submission