Add simple palindrome detection