Surrounded Regions

Find the 'O's on the edge and those next to them
Recursive will Runtime Error
Use queue or stack to replace recursive, here I use queue