design-pattern homework1 - observeral pattern