n.children = new node[] { nod("a"), nod("b") };
n.children [ 1 ].children = new node[] { nod("ba"), nod("bb") };
n.children [ 1 ].children [ 0 ].children = new node[] { nod("bac") };
nodeHolder nh = new nodeHolder(n);
object.passTree(nh);
// Convert the returned tree to some strig representation.
StringBuffer img = new StringBuffer();