Draw a single continuous loop travelling horizontally and vertically. Clues inside the grid represent the lengths of the longest loop segments lying towards the corresponding directions.