Method delete
/* Delete one instance of item from the multiset, if there is one. */
public void delete(int item)
/* Let k be index of leftmost occurrence of item in list, or currentSize if item isn't in list. */
list[currentSize] = item;
while (list[k] != item) k++;
list[k] = list[currentSize-1];