add c for files
update avg.c