Add State monad example.
Add output to comments.