Implement makeCacheMatrix and cacheSolve functions.

Implemented the makeCacheMatrix and cacheSolve functions.