Update NextPermutation.cpp