A simple program to simulate schedulers.