結果 : how to generate all permutations of an array python