write a recursive function of binary search in c