Update cachematrix.R

Added additional comments to the code