Tic Tac Toe Math Model