get all possible palindrome partitions of s