Big update to the python version.

The file src/automata.py now has a at least running version of the programm.
This can be considerd v0.1 of the python version but there are still a lot of
unimplemented features (TODO list in src/automata.py).

The changes are only sparsely tested with the files in machines/ .