print_text() works now like C's printf()