util: simple Multiset implementation