scheduler implemented
fixed switch routine
basic kthread functions implemented