python:Hardway:Ex42: Add custom functions in Dog, Cat class