demonstrats use of arrays in java
implementation of binary search algorithm in java