Clean up output code
Merge branch 'master' of github.com:kexinrong/NetworkSimulator