Compiler errors and warnings cleared.
Randomness added to initial number of timers.
Use AtomicInteger rather than volatile.
Updated