exercise on adding a table with document.write