attempt at linking a node's next right node at the same level, given the root of a tree