day 3: recursive binary search. All tests pass