Compass Interview Question

2d array find the islands