Revised, works. Binary search Half-works