Concurrency Control - Creating RW Locks using Atomic Integer