Decrease And Conquer Binary Search In Python Using Pipes As Shelf