Update PassGen.php

Cleaned up code.