Create MemoryRecord.c
Trying to understanding the malloc usage