Finished multitasking revision.
Added wait(), sleep(), and wakeup()