Imlementation of Donald Knuth's X algorithm, using dancing links struct