Check string to palindrome