Deterministic finite automata C++ implementation