This program will take any arbitrary string and reduce it to chunks of text that are either pieces of embedded palindromes in the string, chunks of text determined not to contain any palindromes or single letter strings. Palindromes in curly brackets and non-palindromes in square brackets.
abczyxabczyxwvvwxyzabcxyz => [abc] {{zyx}} [abc] {zyxwv}{vwxyz} [abc] {{xyz}}