body of makeCacheMatrix function