Define a tree structure using a class Node with attributes key, value, and children.
Implement create_node(key, value), which creates a node with the supplied key and value and no children. Return its plain Python representation as a dictionary with exactly the keys key, value, and children.
Input parameters are key and value; either may be any JSON-compatible value. The output is a dictionary whose children value is an empty list.
key and value are JSON-compatible values.children list.key, value, and children.def create_node(key, value):