Simple password generator written in Python