Nurikabe rules

Nurikabe is a puzzle type originally created by Nikoli.

Shade black squares so that the grid is divided into white areas, each of which contains one number that represents the number of white squares in that area. All black squares must be connected, and no 2×2 area can be completely shaded black.

See this example puzzle and its only solution.