add some practice of observer pattern and decorator pattern in python, and python decorator simple case