Palindrome Partitioning : >O(n^2)

time complexity:>O(n^2)