J.P. Morgan interview question

Implement a binary tree search function