create an HTML table and fill it with array values