Added the Item_group class, and related subclasses, for handling grouping items with frequencies.