Enumerate k-partitions of a set of n elements