Completed the structure for MergingNodes class and
added TODOs