print table with more readable format