Wrote the constructor, add, clone, countOccurences, receipts, and size
methods.