Observer Pattern sample code added.