recursive binsearch updated

More concise recursive binary search