Itertools Permutations Source Code