Write the function makeCacheMatrix and cacheSolve