wrote genetic algorithms schedule class