Added automatic tree generation with graphviz!!!