Add nearPoly Function and other

create polygons variable that can contain many Polygons and the call the
function.
and also create nearPoly function which calculate the distance between
location specified by user and the center of the main polygons.