Begin binary search implementation