Background Information: I solved the N-Queens problem with the C# algorithm below, which returns the total number of solutions given the board of size n x n