Draw a loop in the grid by travelling horizontally and vertically without touching itself. The numbers in the grid indicate the number of cells occupied by the loop in the 8 neighbouring cells.