Added exercise: ex2-3.c