PopulatingNextRightPointersInEachNodeII solved