Binary Search Algorithm Using Python With Active Directory