solve palindrome partitioning