Python 2d Array Add Row To Table Sql