Added clobber_table_write to this file.

(I should probably abstract it out soon, since it's now duplicated in two files.)
Wrote a 'write this table' function. Tested it, it works!