Completed makeCacheMatrix() and cacheSolve().