Create ER_generator.py