fixes script for sending to at most nnodes-1
Merge branch 'master' of https://github.com/trivoldus28/switchless-sim