What is the syntax for defaultdict in Python, and why is it useful?
Implement group_words(words) using a dictionary with automatic list initialization. Group each non-empty word by its first character and return the resulting map. Preserve the input order within each group.
Example: words = ["alpha", "beta", "apple"] returns {"a": ["alpha", "apple"], "b": ["beta"]}.
Constraints: 0 <= words.length <= 10^4; each word contains lowercase English letters and has length at most 50.
def group_words(words):