A  next_permutation.cpp