factory_pattern.py

simple factory pattern example