N-Queens_II, cleaner implementation.