Add the automata package.
Improve automata tests.
Merge pull request #3 from eaburns/automata

Add the automata package.