Creating dynamic tables

tic tac toe
x o x
o x o
x o x