public static HashSet<Integer> randomInts(int size, int range, int ... notThese) {
		Random r = new Random();
		HashSet<Integer> hs = new HashSet<Integer>(size);
		while(hs.size() < size) {
			//			while(hs.add(r.nextInt(range)) != true)
			//				;
			while(true) {
				int x = r.nextInt(range);
				boolean cont = false;
				if(notThese != null) {
					for(int i = 0; i < notThese.length; i++) {
						if(x == notThese[i]) {
							cont = true;
							break;
						}
					}
				}
				if(cont) continue;
				//				if(notThese >= 0 && x == notThese)
				//					continue;
				if(hs.add(x) == true)
					break;
			}
		}
		return hs;
	}