Genetic algorithms in teaching artificial intelligence (automated generation of specific algebras)