Implemented "Bag" in Python, including iterators