Create time_calc.c