Create schedgenerator.py