Added jvm warmup in example and a roulettewheelselection