create password function

creatpassword()
return the password