Implemented password generator.