makeCacheMatrix and cacheSolve update