Generating all partiotions into subsets