Distance between two nodes in a BST