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