Chap3 - binsearch