Swift implementation of sweep2 program for building Voronoi diagrams.