Binary search

https://codility.com/media/train/12-BinarySearch.pdf