Cesa's Binary Search.

This is one version of Binary Search.