Figure out better strategy to generate palindromes.