Update Assignment1_260290265.c

Modify with the memory management