Add ex6.c and add to the Makefile