solve Surrounded Regions using bfs