Simple password generator written in Python 3