Binary Search Code Using Python