format output of tables
print table with more readable format