Implemented makeCacheMatrix() and cacheSolve(), along with comments