Partition n sets into bins like the areas of a Venn diagram
paddy3118.blogspot.co.uk