Solve various n-queens problems in the terminal