more work on palindrome permutations