eliminated code duplication
big fix
Merge branch 'master' of https://github.com/Xokker/petri

Conflicts:
	src/main/scala/esadykov/WorkflowNet.scala