Add cacheSolve function and comments