multiset permutation and combination