Interactive binary search example