Update NextPermutations.cpp