source code for ex4 added in dir ex4/hoppmann

Note: allocate.c and allocate.h in dir ex4 is also used for this program
can be compiled with gcc *.c ../allocate.c