Updated ex8.c and Makefile