AppFolio interview question

Implement Binary Search