Set the nextRight pointer for p 's right child  p->nextRight will be NULL if p is the right most child  at its level
if ( p . right != null ) p . right . nextRight = ( p . nextRight != null ) ? p . nextRight . left : null ;