結果 : permutations in python without itertools