DMap data structure for set operations in O(1) time