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