Simple python examples to learn complex python design patterns