Applying a Genetic Algorithm to the N Queens