Added new Python file
Added finite automaton support