A Simple password generator in Swift