A different approach to N-Queens