Create memory_network.cpp