working tic tac toe without win detection and x and o s