tic tac toe game with minimax algorithm.