Update cachematrix.R

Adding comments to code