Create a node in C++