n queens using new framework