docs: public static int[] removeFromIntArray(int[] a, int value) {
  		
  		if(a == null) {
  			throw new NullPointerException("Array was null");
  		}
  		
  		int index = -1;
  		for(int i = 0; i < a.length; i++) {
  			if(a[i] == value) {
  				index = i;
  				break;
  			}
  		}
  		if(index < 0) {
  			throw new IllegalArgumentException(String.format("Element %d not found in array", value));
  		}
  		
  		int[] array = new int[a.length - 1];
  		if(index > 0) {
  			System.arraycopy(a, 0, array, 0, index);
  		}
  		if(index < a.length) {
  			System.arraycopy(a, index + 1, array, index, array.length - index);
  		}
  		
  		return array;
  	}