This program computes the square root of a number using binary search. This is not a tidy program but hopefully shows the concepts.