Update pAutomata2automata.py

new  version