Update forking.h

Implemented out_time_left(), output_clock(), and exit calls for child threads