solve n queens 2