A data structure that creates all the permutations of a number