queens problem solution