created write_table
added tests for write_table
added documentation for write_table
Merge branch 'write-tab' into develop
added two more tests to write_table to get 100% cov