Find the next node given a node in a binary tree