Added shared memory demo file.