Basic IA, playing tic-tac-toe