Add functions makeCacheMatrix() and cacheSolve() to input a matrix, solve for the inverse matrix, and use a cached copy if previously solved.