Pure python pwgen