Simple Binary Search Code In Java