docs: public static <E extends Comparable<E>> E searchMin(List<E> list) {
          if(list.size() == 0) {
              throw new IllegalArgumentException("The list you provided does not have any elements");
          }
          E min = list.get(0);
          for(int i = 1; i < list.size(); i++) {
              if(list.get(i).compareTo(min) < 0) {
                  min = list.get(i);
              }
          }
          return min;
      }