Pseudo code for tic tac toe game