pupulating next right pointers in each node 2