A  surrounded_regions.cpp