Added assignment-7.c

for practice