Binary Search Implementation In Python