add observer pattern.
Merge branch 'master' of https://github.com/jesse-yan/DesignPattern