finish mem_init()
mem_alloc() and mem_free
finish Lab1