Implemented Animal class