Rewrote Makefile and added malloc checking
Fixed argc checking in dupme and filter
Fixed bugs in midterm task