A password generator written in c++