Genetic Algorithms for the N Queens Problem