Returns the next in-order node of the tree, or null if the passed node was already the last one.
a Tree node
the next node in the tree