Added exercise: ex3-1.c