Update cachematrix.R

add some comments to script