Write Recursive Algorithm For Linear And Binary Search In Python