8 Queens 2-D

Continuing our exploration of backtracking, we redo the 8 Queens Problem in a 2-D setting.
This time around, we are going to be using goto statements .

Template using goto statements

Here is a visual to demonstrate the algorithm we will use.

Take note of how the algorithm moves through the board. Could you write down the steps it does exactly?

How the algorithm should move: