add palindrome partition sol