Develope a class GenerationAutomata.