TicTacToe with Java. Implementing the Alpha Beta Pruning