brutal force Go to each of the spot, and check 4 adjacent sides and if that side is on the boarder or side to the water then we add one length to the counter. time: O(4 * m * n) space; O(1)