I have a project for my networks lesson, using NS2 simulator, tcl language, awk scripts and xgraph. So far I have completed a few parts and I need just a check for them. The rest would be implemented by you. Also, I have to build nodes, using arrays and set colors to them (I have an example in my code, but don't know if its correct). At the end, I have to draw the graphic scheme with xgraph.