Please can anyone tell me where I may have read this.

The ant was somebody's invention. It walks forever over an infinite chessboard. Whenever it lands on a white square it changes the square to black and turns right. Whenever it lands on a black square it changes the square to white and turns left.
I think it was just a short introduction to a chapter on random walks.

Where did I read it ?, Who's ant was it ?