Reverted drawtree.py and changed tabulate out put to latex format.