programs on RTS(Real Time Systems) exercises