Create palindrome partition