Added exercise: ex4-7.c