Nanyou algorithm experiment 8 queen experiment code