Added ex4.c and updated Makefile and ex1.c