add print.c file