a light function for printing a text table to stdout