generate multiset combinations (n multichoose k)