Removed duplicate places

This commit makes sure duplicate places (same ID) will not occure twice in the petri net