Surrounded Regions, Text Justification

Exercises from LeetCode, they are both accepted