Implementation of a Multiset Data Structure