Implementation of voronoi diagram completed.