add PopulatingNextRightPointersinEachNode