Add polygon function works, bugfixes are still due namely to after the
first addition of polygons and checking of duplicate polygons for
barangays.