implemented LOOP parameter (number of packets)
Merge pull request #2 from kobuki/master

implemented LOOP parameter (number of packets)