Creating sample points in a polygon with OGR and Shapely (Introduction)