Update Next Permutation.py