Finished implementation of the password generator