adeterministic finite automaton specified using methods defined in jacop.scala