Assignment 2: Lottery Scheduling Solution