yield_cpu() implementation

Implement a function to yield cpu time to next task proactively before system timer is expired.