Color every square red or black. No more then 2 consecutive squares can have the same color.
1 click= grey square, 2 clicks= red square