Added exercise: ex4-10.c