binarySearch

inline fun binarySearch(from: Int, to: Int, expected: Int, searchResult: (Int) -> Int): Int