Implemented a Point-In-Polygon algorithm.