Tidied password gen code
Merge branch 'master' of https://github.com/ARandomOWL/d1