initial add problemFactory.py