utilize class PermutationGenerator