Create signaltime.c

this file consist of  signalling and time functions in program