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