Now let's practice with using custom data structures and user-defined types with pattern matching. Your task is to write such patterns in each of the case statements, so that they behave according to what's written in print functions. Don't forget to add annotations to Cat and Dog classes.
Please do not call the match_animal function, it will be called automatically.