Check word or sentence if it is Palindrome.