partitionsGeneral function

Generate Partitions/Compositions