finished the tictactoe player, with minimax and alpha-beta pruning