Binary search in a BST

O(logN) for binary search