less paths in code of cacheSolve