compares Petri nets by creating a matrix that captures the distances between
transitions based on whether or not they are connected by means of a place.
Note, the clone function of the Petrinet class currently is not working
properly, that is, it does not use getPlaces(), rather tries to access
the collection maintained by the class directly.