Added binary search variant, find first element in a sorted array.