rename_nodes_cpp function

Return a list of nodes with the time slice appended up to the desired size of the network