Added exercise: ex3-2.c