Adding ReadWriteLock homework.