we should check to make sure the offered element is not bigger than our total capacity, in which case we should throw an exception.