palindrome partition with minimal cuts