add a new example which demonstrates usage of RWST

Thought we should have a ReaderWriterState example. comments/suggestions of course welcome :)