binary search should be in arrays.py