to check given string is palindrome or not