Update Point-Generator.py

Removed duplicate code.