intersect function done but not tester, polygon now inherits from path