docs: public static <E extends Comparable<E>> E searchMax(E[] array) {
          if(array.length == 0) {
              throw new IllegalArgumentException("The array you provided does not have any elements");
          }
          E max = array[0];
          for(int i = 1; i < array.length; i++) {
              if(array[i].compareTo(max) > 0 ) {
                  max = array[i];
              }
          }
          return max;
      }