new main added for draw-tree. Can now take command line arguments