function buildTable(rows) {
        var table = document.createElement('table');

        rows.forEach(function (row) {
            table.appendChild(buildRow(row));
        });

        return table;
    }
Builds a table from the given cell tag matrix

@param {string[][]} rows Matrix (array of arrays) of cell tags (tr|th)
@returns {Element} table constructed from given tags