n queens ii solution modified