describe a method for binary navigation on a line