The Algorithm - Interrupt Handler (Single)