implemented the classes of the dogs that inherit from Dog class