Algorithm For 8 Queens Problem With Example