added simple logging.
First version capable of reading PNML.