mmax2: fixed bug by manually adding node during edge generation (cf. Issue #39)
dg.py: converted debug output to utf-8