(Harvest_001) Analyzing a grid.
A grid is divided into countries (numbers). Make an application that will show the total amount of regions on the grid.
A region consists of all the coordinates that are directly linked (N,E,S,W) with other coordinates from the same country.
Example:
Country 1 has 3 regions.
Country 2 has 2 regions.
Country 3 has 4 regions.
Result should be 9.