Create text_memory.cpp