Modified tree.py to take in a text file and output a .dot file.