Changes in bag implementation of Xdistinct operator

The bag was implemented with a list. In this version, the bag is
represented with a dict which is more efficient for looking up elements
Remove unnecessary log file