Simple version of conversion of network to .xml

Need to add error reporting about invalid petri net  later