Create shared_mem.c