First version of tic tac toe