The function makeCacheMatrix was coded with comments