Implementation of makeCacheMatrix() and cacheSolve() functions for storing a matrix and its inverse and using the cached inverse on subsequent requests.