solved N-Queens OJ