Binary tree search, depth-first and breadth-first