A Chain-Detection Algorithm for Two-Dimensional Grids. - Paul Bonham; Azlan Iqbal (CoRR, 2016)