Tutorial for implementing Tic-Tac-Toe demonstrating the minimax algorithm