Combinatorics on matrices# Dancing Links internal pyx code Dancing links C++ wrapper Hadamard matrices Latin Squares