add cacheMatrix functions

added cacheMAtrix.R code and comments