created Sack data structure for non repeating outputs