a password generator written in C