Solution in c++ to the n x n Superqueens problem