Implemented simple pathfinding from one polygon to another.