complete palindrome_partitioning_q1