Implemented function makeCacheMatrix.
Implemented function cacheSolve.