Implemented LotteryScheduler.java