made lab5 makefile and implemented first come first serve