added function to make passwords

should work with python 3 now