Fixed bug

Fixed a bug where find_palindrome() would not return the correct answer
if the entire input text was a palindrome.