Producing all solution permutations.