Implemented makeCacheMatrix() and cacheSolve() to compute and cache inverse matrices