how to add nodes in tcl script to create topology traffic in ns2.31?

view story

http://www.linuxquestions.org – my final project is want to evaluate performance using AODV and WCETT routing protocol based on throughput..i have use the ns2.31 simulator in ubuntu 10.04..my problem is i don't know how to add more that 10 nodes in tcl script and the coding that must have for more than 10 nodes in topology traffic.everytime i want to run more than 10 nodes, the segmentation fault will be appear..like the picture that i attach..anyone can solve my problem? Attached Images 1bnew.png (69.2 KB) (HowTos)