N-Queen-Algo