Implement table creation

Field/type pairs can be passed to function as a dictionary or parallel
lists