cacheMatrix.R file updated with changes