Simple code to convert data structure -> .dot file