A closer look at Bag and Graph representation as a adjacent list