Fastapi Return Binary Search In Python Using Lists