Update automata.py

DFA now knows how to return its alphabet.