Completed implementing makeCacheMatrix and cacheSolve.