Adding exercise: ex4-13.c