Decrease And Conquer Binary Search In Python Using Pipes In C