binary search demo works except for arrows