結果 : generate permutations of an array python