generates a random password based on input from the user