How To Write A Binary Search Script In Python