lab2: time quantum works