Output for sample input.txt data with palindrome probllem