add solution for PopulatingNextRightPointersInEachNodeII