Started simplifying notification of next thread
Simplified checking the lock state
Simplified checking the lock state
Added comments
Added test for signaling multiple reader threads with a single release
of a write lock
Fixed typo