boolean IsSimple(polygon poly)
The tool tests if given polygon is simple.
Polygon is simple if it has no self-intersection points
Input:
poly - arbitrary polygon created by "Polygon" tool
Output:
true if given polygon is simple, false otherwise