I am a newbie to algorithm, I tried using recursion in binary search, I do get the result and it is correct, but the index of the result is wrong, I\'ve tried over and over but