Craeted generator.py and updated README.md