Create factory_pattern.py