code: public static int[] range(int min, int max) {
      int[] range = new int[max - min];
      for (int i = 0; i < (max - min); i++) {
        range[i] = i + min;
      }
      return range;
    }
docs: Returns an array of the form {@code [min, min + 1, ..., max - 1]}
  
  @param min
  @param max