fix the bug when all processes ended, it will trap
ignore some dump files
finish the first 4 questions of problem 4
finish the code for lab2
finish lab2