Created Generator.py.