Added print statements for start, end and preemption of tasks