Lottery and MLFQ

The lottery scheduler and MLFQ are done now. I found lottery more
difficult simply from the problem of how to assign tickets to the
processes.