Author: Anurag Sahay
Draw a single continuous loop in the grid using horizontal and vertical line segments so that the loop visits every cell exactly once. It should not cross or overlap itself. The length of a loop segment between two numbers should be strictly between the values of these numbers.
Grid control: To draw a line press the mouse button at a start cell and move mouse to another cell holding the button. More details about grid control are at the help page.