code: public static <T> List<T> createList(T value, int n) {
  		List<T> result = new ArrayList<>(n);
  		for (int i = 0; i < n; i++)
  			result.add(value);
  		return result;
  	}
docs: Creates a mutable list containing <code>n</code> copies of
  <code>value</code>.
  
  @param <T>
  Type of list elements
  @param value
  Basic value for list generation
  @param n
  Number of copies
  @return A mutable list containing <code>n</code> copies of
  <code>value</code>