rename cd.c to main.c