modified:   ch04/next_lexical_permutation.py