modify makeCacheMatrix and cacheSolve