String reverse and palindrome