solved N-Queen