Added function to call the animal's display_data method.