eight queens works but is slow