Create palindrome partitioning