private static int[] StringToInts(String line) {
		int[] result = new int[3];
		int s = 0, e = 0, found = 0;
		
		for (; e < line.length(); e++) {
			if (Character.isSpaceChar(line.charAt(e)) && found < 3) {
				result[found] = Integer.parseInt(line.substring(s, e));
				found++;
				s = e+1;
			}
		}
		result[found++] = Integer.parseInt(line.substring(s, e));
		return result;
	}