made makefile and master.c