Behavioral patterns improvements.
Docstrings added for behavioral patters example.