Create generator.c