A description to the problem: https://leetcode.com/problems/number-of-islands/
Basically you have a matrix with 1s and 0s, and you need to count how many groups of 1s