Implementing the binary search in the Array Operation Class