The Mathematics of Playing Tic Tac Toe