Implement a password generator (generate random strings given a charset) and be able to toggle charsets on/off for the password generation function.
Implement generate_password(length, charsets, enabled, seed). charsets maps names to character strings, and enabled maps names to booleans. Use only enabled character sets, generate exactly length characters with the supplied seed, and return an empty string when length is negative or no charset is enabled.
def generate_password(length, charsets, enabled, seed):