Tic-tac-toe game from the book "CL: A gentle introduction to symbolic computation"