Binary Search Algorithm In Java