結果 : get all permutations of a list python without itertools