Create write_node.cpp