public FirstFollowModel(Grammar grammar) {
		variables = grammar.getVariables();
		Arrays.sort(variables);
		terminals = grammar.getTerminals();

		firstSets = new String[variables.length];
		followSets = new String[variables.length];
		Arrays.fill(firstSets, "");
		Arrays.fill(followSets, "");
	}