Build dancing links data structure for a puzzle.