printing tree to stdout..