Small program to solve the eight queens problem.
Use argument -v
to output graphical representations of the board.
The eight digit numbers outputted by the program represent the position of pieces on the board. Each digit represents a row, and the value of the digit represents the position along the row a piece should be placed.
E.g. 82417536
= Pieces in 8th square of first row, 2nd square of second row, 4th square of third row...