drawTree function

Draws a new tree structure