first (baby) working version of examples/printf