Main program of the tictactoe