private static void dealWithArgs(String[] args) {
		for (int i = 0; i < args.length; i++) {
			switch (args[i]) {
			case "-knight":
				init = Init.KNIGHT;
				break;
			case "-diag":
				init = Init.DIAG;
				break;
			case "-size":
				size = Integer.parseInt(args[++i]);
				break;
			}
		}
	}