Update NextPermutations.cpp

add examples.