Format a header and rows into a table
