editing random_pw.py