Implemented makeCacheMatrix and cacheSolve, both with extensive commenting