filled in cacheMatrix.R