for n queens.