Populating next right pointer in each node I & II
Add helper function