adds partially implemented getEdges() function and test case
the getEdges(...) function will return the edges of only 1 polygon. need to implement the multiple polygon aspect. (...) means that it can take multiple inputs, which are all indexes of polygons, not actual polygons. so you can get the edges of polygon number 5 but using getEdges(5)
adds polygon class edge creation and polygon:containspoint(x,y) function
now you can check if a polygon contains a point using the polygon:containspoint(x,y) function. i might want to make a function for the whole voronoi to detect what polygon the click was in because a brute force method may work for small voronoi's but if it is a large grid then each click calculation will be very slow
adds voronoilib:polygoncontains(x,y) to return what polygon contains a certain point
also updates the test for edges to include this function
fixes polygonclass edge creation
the last edge (the closing edge) was not being created, now it is being created. also starts removing the duplicate edge creation from the voronoilib:getEdges(...) function and replaced that creation with just using the edges that have already been defined in the polygonclass
completes voronoilib:getEdges(...) function
function now does segment and vertex mode without any issues. updated the test to better graphically represent the differences between the modes and allow for quick toggling of modes.
renamed examples and added readme to getEdges example
also reworked the getNeighbors example so that it also uses the clicking that getEdges does. changed the drawing for getNeighbors to make it more obvious what is going on