Search the elements of array using binary search technique