Author: Andrey Bogdanov
Draw a continuous line in the grid using horizontal and vertical segments segments so that the line visits every cell exactly once. It should not cross or overlap itself. The line should pass through cells with numbers in order: 1-2-3...
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.