Observer Pattern

This program demonstrates the observer pattern where the observer
listens (subscribes) for messages and an dispatcher class makes sure all
subscribers get the appropriate message.