debug code for link matrix
start dancing links