Create memory.h

A minimal memory manager for MoCoVA