Example code of GOF23 Design Patterns