write a bit on palindrome partition 2