restored graphviz output
added git ignore file
cleaned json writing