updated cpu. Added comments and a method to scheduler. I believe
scheduler shoudl work. Cpu not so sure at the moment.