Create cacheMatrix