增加register方法，未完
Merge branch 'master' of https://github.com/Tompkins/Learn-Python
增加Animal类