Simple password generator in python