fixed packetDuration = 0 problem. added console output of final stats to
output.txt
added packet test cases to output.txt