This simulates the 5 state model for process management using C and Interrupts