Changed thread scheduler from round-robin to lotto over an array with a linked list for overflow.