add "check if a given point lies inside or outside a polygon" algorithm, from:
http://www.geeksforgeeks.org/how-to-check-if-a-given-point-lies-inside-a-polygon/