Following a tutorial on how to implement an alpha-beta heuristic search algorithm for the game of tic-tac-toe