Added shared memory example
Added shared memory example