Add ex8.c and add to Makefile