Simulation of preempting round-robin process scheduler, written in Go