initial commit for cachematrix.R code