Added code to handle interrupts
Checked that PUSH/POP works