static void testRange(int first, int last) {
		print("Testing range from " + first + " to last " + last + ".");
		
		long start = 0,end = 0;
		Range range = new Range(first,last);
		long normalDuration = 0;
		long rangeDuration = 0;
		
		long waste = 0;
		start = System.nanoTime();
		for (int curr = first; curr <= last; ++curr) {
			waste += curr;
		}
		end = System.nanoTime();
		normalDuration = end - start;
		print("Normal iteration took " + normalDuration /1000  + " milliseconds.");

		// Just to make sure that the value of waste is needed later on
		// So it can't be ignored by the compiler or something
		String s = new String("");
		if ((waste & 1) != 0) s = ("Waste is odd");
		else s = ("Waste is even");
		
		start = System.nanoTime();
		for (int i : range) {
			waste +=i;
		}
		end = System.nanoTime();
		rangeDuration = end - start;
		print("Range iteration took " + rangeDuration /1000  + " milliseconds.");
		
		// Just to make sure that the value of waste is needed later on
		// So it can't be ignored by the compiler or something
		if ((waste & 1) != 0) s = ("Waste is odd");
		else s = ("Waste is even");
		
		double ratio = rangeDuration/normalDuration;
		print(" ================= Range version took " + ratio + " times as long as normal version. =================");
		
	}