Adds ReentrantReadWriteLock to Bucket class