this is my implementation of dancing links algorithm in C