Added addVarChildNodes function to let users add variable child nodes to a node using 1 function call