Fixing ignore to properly handle .o files
Fixed valgrind-reported errors
Made Makefile usable