Finished Table Creation function.