update `optimization` next_permutation.py