Added exercise: ex5-10.c