Pthread Mutex

Adding a mutex manipulation in the pthread sample
Shared memory

Initial commit of shared memory sample