Put a diagonal wall into every field, in a way that no completely closed areas occur. The numbers in the circles tell you, how many walls touch this circle.