make surrounded regions accepted

use BFS, next time try to use union find