Polygon Intersection Check Algorithm An algorithm checking for if lines intersect when creating an polygon (given a list of ordered points in 2D space) May be helpful for geofences in the Google Maps API