added methos in PetriNet and changed version in pom