Minimax Tic-Tac-Toe code for my Intro to AI course