結果 : next permutation function python