Multiprogramming & Multitasking Simulation

Switch between modes: Multiprogramming (CPU time-slicing) and Multitasking (parallel execution).