Lab4 part1 Traffic Generator coded