poly2SpatialPolygons: Convert simple polygon to a SpatialPolygons object
Description
This function takes a simple polygon and attempts to
convert it to a SpatialPolygons object.
This list is assumed to have components x and
y that define the boundary of the polygon.