Shell Function Generates Password