cachematrix.R

add comments to the codes