Added function to convert graphs to graphviz format 

Should work for all combinations of weighted/unweighted and directed/undirected.