Made a specific binarySearch function and a containsValue for unsorted arrays.