code: public boolean remove (E e) {
  		for (int i = 0; i < size; i++) {
  			E e2 = data[i];
  
  			if (e == e2) {
  				data[i] = data[--size]; // overwrite item to remove with last element
  				data[size] = null; // null last element, so gc can do its work
  				return true;
  			}
  		}
  
  		return false;
  	}
docs: Removes the first occurrence of the specified element from this Bag, if it is present. If the Bag does not contain the
  element, it is unchanged. It does not preserve order of elements.
  @param e
  @return true if the element was removed.