Build a Permutation Generator