Draw a single loop through the diagram, visiting every ball without intersecting itself. The loop makes a 90 degree turn in every black ball, but it goes straight in the cell where it enters and the cell where it leaves the cell with the black ball. It does not make turns in any of the white balls, but it does turn directly before and/or directly after visiting a white ball. More information.