Fix bug in dancing link algorithm.
Update the GUI design.