Method isElement
/* Return true if the multiset contains 1 or
more instances of item. */
public boolean isElement(int item)
/* Let k be index of leftmost occurrence
of item in list, or currentSize if
list[currentSize] = item;
while ( list[k] != item ) k++;