How To Implement A Binary Search Algorithm