added free() at the end of method and deleted some printf() because they are not necessary
this is an object file of mm.c