how to generate all permutations of a list in python,"itertools.permutations([1, 2, 3])"