Added functions and edited do_lotto

The 2 prio defines are there so that user can switch between normal prio
(my) and dynamic prio (dynamic)
allot_tickets will handle all ticket allocation, from do_nice to
do_noquantum to dynamic scheduling.  Implementation of allot_tickets has
yet to be implemented.