The cat decides a secret number between 1 to10. You have to guess the number, and the cat will tell you if the number you have guessed is greater or smaller than the secret number. But the code doesn't work every time. Find and debug the error.