Two automata
Merge https://github.com/hdlkdg/ca