def queens(n):
	"""Find all solutions of queens.
	For each layout generated by list_mutation(n), chech
	if it's safe.
	The augument n is the number of queens. Certainly it 
	can be altered to meet your own needs.
	"""
	print "N queens solutions"
	print "By Alec Jang"
	for q in list_mutation(n):
		if check_safe(q):
			yield q
Find all solutions of queens.
	For each layout generated by list_mutation(n), chech
	if it's safe.
	The augument n is the number of queens. Certainly it 
	can be altered to meet your own needs.
	
recipes/Python/475145_general_solutiEight/recipe-475145.py