Update Generator.scala

Using curring for scheduling messages.