Binary Search Algorithm Using Python For Front End