https://how2.sh/posts/how-to-use-python-structural-pattern-matching/
How to Use Python Structural Pattern Matching for Cleaner Code