Adding determine() method for deterministic finite automata and transitions.initial property