Connect right pointers in a linked list