2D Voronoi basic implementation