Generate all integer partitions of an integer