Write pseudo code for tic tac toe game.