Solving the N Queens puzzle in Java