Logic
Sweeping through the grid points requires that they be enumerated ...
1000< gPointy < 3000 examine all
1000 < gPointx < 3000 grid points
Test if (gPointx,gPointy) wet wet test
Yes: gPointx = gPointx +4 advance in row
No: Test if there are unexamined droplets still droplets to go
Yes: index = index + 1 Examine it test it
No : nMax = nMax + 1 create another
gPointx = 0 restart on column
index = 0 restart on droplets
gPointy = gPointy + 4 move to next row