corrected typo in cacheSolve