Created cacheSolve