add two files main.c and proc.c