Revision 2: Added the print itemset code