polyzone function

Identify crossed polygons from existing cells when adding a new line (works only for dim = 2)