changes done in cacheMatrix