add tic tac toe table with some functionality