code behind the Voronoi diagram in http://plothole.net/2014-12-08-Krick-zones.html