a FLOODFILL algorithm
this article has been moved to
www.davdata.nl/math/