implemented cacheSolve body