added a header to the print_table method