(re)made knightsTour and nQueens