Trancis interview question

Write a program to build a Tic tac toe.