binary search algorithm and list of random numbers