Updating makeCacheMatrix and cacheSolve