Backtracking Through the N-Queens Problem