updated lotteryscheduler skeleton and handleSyscall() in userprocess.java