Added exercise: ex2-5.c