[passwordgenerator.py] Add "getPasswords" function