A small algorithm to find and display solutions to the n-queen problem