private static void addToVariables(Character var) throws ValidationException {
		for (Character c : variables) {
			if (c.equals(var)) {
				return;
			}
		}
		variables.add(var);
		if (variables.size() > MAX_VARIABLES) {
			throw new ValidationException("You have more than " + MAX_VARIABLES + " variables");
		}
	}