Simple implementation of a multiset