結果 : generate all permutations in python