Java program for Binary Search Algorithm