SVG graphs

I modified some previous code. This one generates random points and then for each point, finds the three closest points and draws a line to them. The code is a bit inefficient, so is a bit slow.