Concurrent ReadersWriters

Implement Locks to solve the problem of critical section in concurrent
processes sharing data.