Java implementation of my Automata university course assignment.