Program for search palindrome