Update cachematrix.R

Added comments to code