Create sharedMem.cpp