Recursively Palindromic Partitions

POJ - 3790