use a simple password generator function