The first line contains the size of the level as a single number.
Subsequent lines contain the hex tiles, somewhat rotated clockwise.
Dots mark empty spots. Plus signs indicate that the next tile is
locked, i.e. cannot be moved.
The program can also take a snapshot of the desktop,
locate within the random size 6 level in a browser window,
and solve it by generating mouse events.
Update: made the program multi-threaded, and added support for Mac OS X
(tested on 10.7.3 Lion)!