How does collections.defaultdict work? How does collections.defaultdict work? python python