Artificial Intelligence program for the Tic-Tac-Toe game