correction of the method remove(class BagIterator)

changed the method remove of BagIterator,
now it deletes only one element;
added checking on empty lists after removing of element