Python Code For Binary Search