Adding multimap to handle duplicate nodes
Adding support for nodes(even more than 2 copies)

listofDuplicates is mantained and merged with hamming 1 and 2.