write the interrupt handler and compile the code18