Java applet program to draw a tree