Added exercise: ex5-9.c