subset2.cpp complete, subset generation using next_permutation