added drawing of mealy automata, added more plans