Created a table header

In addition, added code for proper insertion into the table