Some actual code...polygon containment, random points in polygon