The new graph based OperatingSystem is complete.

I found the bugs in the OperatingSystem that were causing crashes.
The bugs were related to for looping using an iterator while removing
elements from within the loop. I changed these loops to while > 0 loops
while popping and removed the head element.