Binary Search Algorithm Using Python For Network