Added exercise: ex5-7.c