M  permutations_ii.cpp