Fixed the context switching (stack manipulation).
Context switching of n processes (round-robin like).
Now using a better election method.