Binary search and tests.
Mergesort and test.