Distance between two nodes in binary tree