create_table function

Create a table