checks for palindrome string