arguments and tree layout with printf

Now using arguments and printf formatting