An implementation of interrupt handlers and a round-robin scheduler using C