add BinarySearch algorithm