Custom DFA simulator implementation written in Python