format_node function

Format a single node for printing.