Implement A Binary Search Algorithm