I\'m trying to implement my own Tic-Tac-Toe game and make a tree(data structure)which contains all possible moves(for Min-Max Algorithm).
At one point in function Add