Implementation of Knuth's Dancing Links algorithm for exact-cover problems (includes sudoku solver)