Adding Binary search algorythm by Java