Changed rw conditions, now they depends on variable rbuf->counter. Added rw examples.