Complete code and comments of makeCacheMatrix and cacheSolve