Update passgen.py

added comment to password function