PCMTreeListAllPartitions function

A list of all possible (including recursive) partitions of a tree