public static void parse(String t, int lineNum) {	
		acceptingStates = new ArrayList<String>();
		if (lineNum == NFA.STATES.lineNum()) {
			numStates = Integer.parseInt(t);
		} else if (lineNum == NFA.LANGUAGE.lineNum()) {
			language = t;
		} else if (lineNum == NFA.CARDINALITY.lineNum()) {
			numAcceptingStates = Integer.parseInt(t);
		} else if (lineNum > NFA.CARDINALITY.lineNum() && 
				isMoreAcceptingStates()) {
			acceptingStates.add(t);
			statesRead++;
		} else if (lineNum > NFA.CARDINALITY.lineNum() &&
				!isMoreAcceptingStates() &&
				!startStateFound()) {
			startState = t;
			startStateFound = true;
		} else if (lineNum > (NFA.CARDINALITY.lineNum() + numStates) +1) {
			String[] transition = new String[3];
			transition = t.split(" ");
			String c = transition[0];
			String w = transition[1];
			String n = transition[2];
			transitionFunctions.put(Collections.unmodifiableList(Arrays.asList(c,w)), n);
		}
				
	}