Validate palindromes.