added a sched_switch example