added partd.c of the project and a makefile to compile parta,b,c,d