my implementation of Algorithm X (Dancing Links), used to solve the bedlam cube puzzle