Function createNode

Create a node acting as a container for the passed list of indexed nodes.