Solve a Hidato puzzle
The task is to write a program which solves the puzzles found daily here:
Solve a Hidato puzzle
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
http://www.smithsonianmag.com/games/hidato.html
An extra point will be awarded for showing that the code can be reused to solve the Knight Tour, see http://rosettacode.org/wiki/Knight%27s_tour