Implement solve for Max Area of Island. Return the required output for the provided arguments.
solve
Implement `solve` for **Max Area of Island**. Return the required output for the provided arguments.