add Permutation solution using std::next_permutation().